class TestController < ApplicationController

  def testTime
    logger.info Time.now.to_json
    logger.info ((DateTime.parse("2011/07/13 05:39:35 +0800") - DateTime.parse("2011-07-11 16:28:12 UTC"))*24*60)
  end

  def newworker
    worker = Worker.new
    worker.name = ""
    worker.save!
  end
end
